<!DOCTYPE html>
<html>
<head>
	<title>企搜crm</title>
	<meta charset="utf-8" />
	<!-- Bootstrap -->
	<link href="<?php echo base_url()?>themes/css/bootstrap.min.css"
	rel="stylesheet" media="screen" />
	<link rel="stylesheet" type="text/css" href="<?php echo base_url()?>themes/css/crmstyle.css" /></head>
<body>
	<div class="container-fluid">
		<div class="row-fluid">
			<div class="logo span3"></div>
			<div class="login_info span3">
				<div>
					当前用户:
					<img src="<?php echo base_url()?>themes/img/admin_g.gif"></div>
				<div id="login_window">
					[
					<?php echo isset($user['user_name']) ? $user['user_name'] : "<a>登陆</a>
				"?>
					]
			</div>
		</div>
		<div class="span6">
			<div class="search_customer">
				<span>
					<a href="<?php echo base_url()?>">去搜客户</a>
				</span>
				<span><a href="<?php echo base_url()?>report">导出</a></span>
				<span class="import">导入</span>
				<span>反馈意见</span>
			</div>
		</div>
	</div>
</div>
<div class="t_bg  t_bg_h" id="main_bg_1"></div>
<div class="container-fluid container1">
	<div class="main_list">
		<div class="custormer_catgy">
			<ul class="unstyled">
				<li>所有客户</li>
				<li>A类客户</li>
				<li>B类客户</li>
				<li>C类客户</li>
				<li>订单管理</li>
				<li>回收站</li>
				<li>待联系客户</li>
				<li>创建客户</li>
				<li>我的应用</li>
				<li>短信群发</li>
			</ul>
		</div>
	</div>
	<div class="customer_list">
		<div class="row-fluid c_do">
			<div class="span6">
				<ul class="inline">
					<li>
						<a href="">删除</a>
					</li>
					<li>
						<a href="">清空</a>
					</li>
					<li>
						<a href="">发短信</a>
					</li>
					<li>
						<a href="">转移分类</a>
					</li>
				</ul>
			</div>
			<div class="span6">
				<div class="input-append pull-right">
					<input type="text" id="search_keywords" placeholder="请输入客户名称、联系人、手机、电话进行搜索" />
					<button class="btn" type="button"> <i class="icon-search"></i>
					</button>
				</div>
			</div>
		</div>
		<div class="row-fluid">
			<div class="span12">
				<ul class="inline l_title">
					<li id="l_checkbox">
						<input type="checkbox" />
					</li>
					<li class="l_star">星标</li>
					<li class="l_customer">客户名称</li>
					<li class="l_contact">联系人</li>
					<li class="l_phone">手机</li>
					<li class="l_tel">电话</li>
				</ul>
				<?php foreach ($company_info as $row):?>
				<ul class="inline l_ul">
					<li class="l_checkbox">
						<input type="checkbox" />
					</li>
					<li class="l_star">
						<div class="star"></div>
					</li>
					<li class="l_customer"><?php echo $row['company_name'];?></li>
					<li class="l_contact"><?php echo $row['contact_person'];?></li>
					<li class="l_phone"><?php echo $row['call_phone'];?></li>
					<li class="l_tel"><?php echo $row['tel'];?></li>
				</ul>
				<?php endforeach;?>
			</div>
			<div class="span12">
				<div class="pagination">
					<ul>
						<li>
							<a href="#">Prev</a>
						</li>
						<li>
							<a href="#">1</a>
						</li>
						<li>
							<a href="#">2</a>
						</li>
						<li>
							<a href="#">3</a>
						</li>
						<li>
							<a href="#">4</a>
						</li>
						<li>
							<a href="#">5</a>
						</li>
						<li>
							<a href="#">Next</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>
<div class="b_bg_h"></div>
<div class="login_page">
	<form class="form-horizontal" action="<?php echo base_url()?>crm" method="post">
		<div class="control-group">
			<label class="control-label" for="inputEmail">邮箱</label>
			<div class="controls">
				<input type="text" name="inputEmail" id="inputEmail" placeholder="请输入邮箱">
				<span class="info"></span>
			</div>
		</div>
		<div class="control-group">
			<label class="control-label" for="inputPassword">密码</label>
			<div class="controls">
				<input type="password" name="inputPassword" id="inputPassword" placeholder="请输入密码"></div>
		</div>
		<div class="control-group">
			<div class="controls">
				<label class="checkbox">
					<input type="checkbox">记住密码</label>
				<input type="submit" class="btn"/>
			</div>
		</div>
		<div class="control-group">
			<div class="controls">
				<span>没有账号？</span>
				<a href="<?php echo base_url()?>register">点击注册</a>
			</div>
		</div>
	</form>
</div>
<div class="login_bg"></div>
<div class="upload_file">
	<?php echo $error;?>
	<?php echo form_open_multipart('upload/do_upload');?>
	<input type="file" name="userfile" size="20" />
	<input type="submit" value="上传" />
	</form>
</div>
<script src="<?php echo base_url()?>themes/js/jquery-1.8.2.min.js"></script>
<script src="<?php echo base_url()?>themes/js/crm.js"></script>
</body>
</html>